﻿using PeiYue.IServices.BASE;
using PeiYue.Model;
using PeiYue.Model.Dto.Tms;
using PeiYue.Model.Models.Tms;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace PeiYue.IServices.Tms
{
    public interface ITaskHeaderServices : IBaseServices<TaskHeaderDao>
    {
        /// <summary>
        /// 获取司机任务分页列表
        /// </summary>
        /// <param name="requestDto"></param>
        /// <returns></returns>
        Task<PageModel<SearchTaskHeaderResponseDto>> GetPage(SearchTaskHeaderRequestDto requestDto);
        /// <summary>
        /// 创建司机任务
        /// </summary>
        /// <param name="ids">线路id</param>
        /// <param name="userId">用户id</param>
        /// <returns></returns>
        Task<MessageModel<string>> CreateTask(List<long> ids,long userId);
    }
}
